package utils

import (
	"strings"
)

func IsZeroAddressesError(err error) bool {
	if err == nil {
		return false
	}
	errorInfoStr := err.Error()
	if strings.Contains(strings.ToLower(errorInfoStr), " zero addresses") {
		return true
	}
	return false
}
